{capture name="tutle"}File Source for {$name}{/capture}
{include file="header.tpl" title=$smarty.capture.tutle}
<h2>Source for file <strong>{$name}</strong></h2>
<div style="float: right;" class="coverage-opt"><a href="javascript: void(null);" id="covhide">Hide full coverage view</a><a href="javascript: void(null);" id="covview">Show full coverage view</a></div>
<p>Documentation is available at {$docs}</p>
{$source}
{literal}
<script>
$(function() {
    $('#covview, #covhide').click(function() {
        $('.src-code').toggleClass('fullcover');
        $(this).parent().toggleClass('coverage-opt');
    } );
} );
</script>
{/literal}
{include file="footer.tpl"}